<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>


<%@page contentType="text/html" pageEncoding="UTF-8"%>
<div class="datagrid">
    <table >
        <thead>
            <tr>
                <th>Nom du mod&egrave;le</th>
                <th>Nombre de ligne</th>

            </tr>
        </thead>
        <tbody>
            <c:forEach var="bulletin" items="${listModel}">

                <tr <c:if test="${vs.count %2==0}">class="alt"</c:if>>
                    <td><a href="/modele/bulletinpaie/show.do?id=${bulletin.id}">${bulletin.nom}</a></td>
                    <td>${bulletin.ligneBulletinPaieModele.size()}</td>

                </tr>
            </c:forEach>


        </tbody>
    </table>

    <div class="submit-container" style=" clear: left;">

       <a href="/modele/bulletinpaie/index.do" class="submit-button">Revenir &agrave; l'acceuil</a>
    </div>

</div>
